package cn.iocoder.yudao.module.reclaim.api.checkres;

import cn.iocoder.yudao.module.reclaim.api.checkres.dto.ReclaimCheckResDTO;
import cn.iocoder.yudao.module.reclaim.service.productcheckres.ReclaimCheckResService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
/**
 * @author FFFF
 */
@Service
public class ReclaimCheckResApiImpl implements ReclaimCheckResApi {
    @Autowired
    private ReclaimCheckResService checkResService;
    @Override
    @Transactional(rollbackFor = Exception.class)
    public void insertBatch(List<ReclaimCheckResDTO> itemList) {
        checkResService.createProductCheckRes(itemList);
    }
}
